package common.adventurecard.strangerorplace;

import common.Game;
import common.StrangersAndPlaces;

public class Angel extends StrangersAndPlaces {

	private static final long serialVersionUID = 1L;
	private final String name = "Angel";

	@Override
	public boolean doStuff(final Game sg) {
		// System.out.println("Inne i Sword:s doStuff");
		sg.addToLog(sg.getPlayer(sg.getCurrentPlayer()).getName()
				+ " has encountered the Angel, who gives you one life!\n");
		sg.getPlayer(sg.getCurrentPlayer()).setLives(
				sg.getPlayer(sg.getCurrentPlayer()).getLives() + 1);
		return false;
	}

	@Override
	public String getName() {
		return this.name;
	}
}
